package se.sics.kompics.tutorial.tutorial3.RIWC.message;

import se.sics.kompics.address.Address;
import se.sics.kompics.tutorial.basicNetworking.Pp2pMessage;

public class WriteMessage extends Pp2pMessage {

	private static final long serialVersionUID = 1821620503660516771L;
	private int registerNumber, reqid, ts, mrank, v;
	
	public WriteMessage(Address sender, int registerNumber, int reqid, int ts, int mrank, int v) {
		super(sender, "");
		this.registerNumber = registerNumber;
		this.reqid = reqid;
		this.ts = ts;
		this.mrank = mrank;
		this.v = v;
	}

	public int getRegisterNumber() {
		return registerNumber;
	}

	public int getReqid() {
		return reqid;
	}

	public int getTs() {
		return ts;
	}

	public int getMrank() {
		return mrank;
	}

	public int getV() {
		return v;
	}
	
	

}
